/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.miniapplcdp.model.v20200113;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;

/**
 * @author auto create
 * @version 
 */
public class GenerateUploadTokenRequest extends RpcAcsRequest<GenerateUploadTokenResponse> {
	   

	private String uploadTokenType;

	private String appId;

	private String source;

	private String moduleId;

	private String materialId;
	public GenerateUploadTokenRequest() {
		super("miniapplcdp", "2020-01-13", "GenerateUploadToken");
		setMethod(MethodType.POST);
	}

	public String getUploadTokenType() {
		return this.uploadTokenType;
	}

	public void setUploadTokenType(String uploadTokenType) {
		this.uploadTokenType = uploadTokenType;
		if(uploadTokenType != null){
			putQueryParameter("UploadTokenType", uploadTokenType);
		}
	}

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
		if(appId != null){
			putQueryParameter("AppId", appId);
		}
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
		if(source != null){
			putQueryParameter("Source", source);
		}
	}

	public String getModuleId() {
		return this.moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
		if(moduleId != null){
			putQueryParameter("ModuleId", moduleId);
		}
	}

	public String getMaterialId() {
		return this.materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
		if(materialId != null){
			putQueryParameter("MaterialId", materialId);
		}
	}

	@Override
	public Class<GenerateUploadTokenResponse> getResponseClass() {
		return GenerateUploadTokenResponse.class;
	}

}
